<template>
  <div class="container">
    <h4>Level Three 三级组件 --- {{color}}</h4>
  </div>
</template>

<script>
export default {
  name: 'MyTest',
  data() {
    return {
      count: 0
    }
  },
  inject: ['color']
}
</script>

<style>
  .container {
    width: 400px;
    height: 300px;
    border: 1px solid #ccc;
    margin-left: 20px;
  }
</style>